<?php

namespace app\common\model;

use think\Model;

class Member extends Model
{
    protected $autoWriteTimestamp = true;
    //用户名
    public function getPersonnel(){
        return $this->hasOne('\app\common\model\Personnel','personnel_id','personnel_id');
    }

}